Skip to content

Conversation

@danthedaniel
Copy link
Collaborator

I have ensured this works as expected in a PR against my own main branch.

Adds a few new files:

  • .github/workflows/typecheck.yml - a new action workflow for running tsc
  • tsconfig.json - used by tsc so we don't go insane if there are differences between default local config and actions config
  • package.json and package-lock.json - used by npm to specify which version of TypeScript the project uses

'use strict';

// https://github.com/PrismarineJS/minecraft-data 1.21.1
/** @type {Record<string, string>} */
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeps TypeScript from being overly strict with indexing this hash map.

This doesn't matter much as we're not transpiling. Just seemed right.
@creesch
Copy link
Owner

creesch commented Dec 17, 2024

Looks good to me.

@creesch creesch merged commit 196564d into creesch:main Dec 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants